package com.common.dao.base.entity;

import javax.persistence.Transient;

/*
* 类描述：查询基础类
* @auther linzf
* @create 2017/8/11 0011
*/
public class QueryBase {

    /** 要排序的字段名 */
    @Transient
    protected String sort;
    /** 排序方式: desc \ asc */
    @Transient
    protected String order = "";
    /** 获取一页行数 */
    @Transient
    protected Integer pageSize;
    /** 获取的页码 */
    @Transient
    protected Integer current;

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public String getOrder() {
        return order;
    }

    public void setOrder(String order) {
        this.order = order;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getCurrent() {
        return current;
    }

    public void setCurrent(Integer current) {
        this.current = current;
    }


}
